SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62726: The IS8601_CONVERT call routine calculates an incorrect duration

DetailsCodeResultsAboutRate It

The IS8601_CONVERT call routine converts an ISO 8601 interval to datetime and duration values, or converts datetime and duration values to an ISO 8601 interval. When the IS8601_CONVERT call routine computes a duration from two SAS datetime values, the computation might not be correct when the dates are not in consecutive months. The computation is correct when dates are in consecutive months.

The sample code on the Full Code tab illustrates the problem.

There is currently no circumvention for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASLinux9.2 TS1M09.4 TS1M6
Linux for x649.2 TS1M09.4 TS1M6
OpenVMS on HP Integrity9.2 TS1M09.4 TS1M6
Solaris for x649.2 TS1M09.4 TS1M6
HP-UX IPF9.2 TS1M09.4 TS1M6
64-bit Enabled Solaris9.2 TS1M09.4 TS1M6
64-bit Enabled HP-UX9.2 TS1M09.4 TS1M6
64-bit Enabled AIX9.2 TS1M09.4 TS1M6
Windows Vista for x649.2 TS1M0
Windows Vista9.2 TS1M0
Microsoft Windows XP Professional9.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M0
Microsoft® Windows® for x649.2 TS1M09.4 TS1M6
Microsoft Windows XP 64-bit Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M0
z/OS 64-bit9.2 TS1M09.4 TS1M6
z/OS9.2 TS1M09.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.